package com.intelligent.health.setmeal.service;

import com.intelligent.health.setmeal.dto.CheckGroupDto;
import com.intelligent.health.setmeal.pojo.CheckGroup;
import com.intelligent.health.setmeal.pojo.CheckItem;
import com.intelligent.health.setmeal.vo.CheckGroupVo;
import entity.PageResult;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: torlesse-liang
 * @Date: 2022/03/13/22:36
 * @Description:
 */
public interface CheckGroupService {
    PageResult<CheckGroupVo> queryCheckGroupsByPage(CheckGroupDto checkGroupDto, Integer pageNum, Integer pageSize);

    CheckGroupVo queryCheckGroupById(Integer checkGroupId);

    void addCheckGroup(HashMap<String, Object> hashMap);

    void editCheckGroup(HashMap<String, Object> hashMap);

    void delCheckGroupById(Integer checkGroupId);

    void delBatchCheckGroup(ArrayList<Integer> checkGroupIds);

    List<CheckGroup> queryCheckGroups(HashMap<String, Object> hashMap);

    List<CheckItem> queryCheckItemsByGid(Integer checkGroupId);
}
